package com.yiyi.credit.manage.abutment;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.scheduling.annotation.EnableAsync;


@EnableFeignClients
@EnableHystrixDashboard
@SpringCloudApplication
@MapperScan(basePackages = "com.yiyi.credit.manage.abutment.mapper")
@EnableAsync
public class Application {

    public static void main(String[] args) {
        new SpringApplicationBuilder(Application.class).web(true).run(args);
    }
}
